package cn.buddha.jeres.server;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * @Author 友野浩二
 * @Description // eureka服务注册中心(Finchley版本), eureka-server
 * <p>
 * 启动项目后，在浏览器地址栏输入application.properties中配置的eureka.client.service-url地址,就可以查看eureka注册中心
 * <p>
 * org.springframework.cloud.netflix.eureka.server.EurekaController,这个类得好好看
 */
@SpringBootApplication
@EnableEurekaServer
@Slf4j
public class JeresServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(JeresServerApplication.class, args);
        log.info("<<<<======== Tong Stand-Lone Eureka Server Started ========>>>>");
    }

}
